package com.tanhua.dubbo.server.pojo;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;


/**
 * 评论表
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "Operation_log")
public class Operation implements java.io.Serializable{

    private static final long serialVersionUID = -291786668125767612L;

    @Id
    private ObjectId id;
    private Long logId; //日志序号
    private String username;//用户名
    private String ip;//用户ip
    private String content;//操作内容
    private String Description;//操作描述
    private Long operatingId;//操作对象
    private Long created; //发表时间

}
